package com.shtel.customeraccount.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.util.Date;

@Table(name= "consumerinfo")
public class ConsumerInfo {

    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    private int id;

    @Column(name = "custnum",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String custnum;

    @Column(name = "creditnum",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String creditnum;

    @Column(name = "consumermoney",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String consumermoney;

    @Column(name = "consumertime",type = MySqlTypeConstant.DATETIME)
    private Date consumertime;

    @Column(name = "consumermonth",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String consumermonth;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCustnum() {
        return custnum;
    }

    public void setCustnum(String custnum) {
        this.custnum = custnum;
    }

    public String getCreditnum() {
        return creditnum;
    }

    public void setCreditnum(String creditnum) {
        this.creditnum = creditnum;
    }

    public String getConsumermoney() {
        return consumermoney;
    }

    public void setConsumermoney(String consumermoney) {
        this.consumermoney = consumermoney;
    }

    public Date getConsumertime() {
        return consumertime;
    }

    public void setConsumertime(Date consumertime) {
        this.consumertime = consumertime;
    }

    public String getConsumermonth() {
        return consumermonth;
    }

    public void setConsumermonth(String consumermonth) {
        this.consumermonth = consumermonth;
    }
}
